﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="edit.aspx.cs" Inherits="admin_type_edit" %>

<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <title>修改类别</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="http://cdnjs.bootcss.com/ajax/libs/twitter-bootstrap/2.3.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <script src="http://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript"></script>
        <script src="http://cdnjs.bootcss.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap.min.js" type="text/javascript"></script>
        
        <script type="text/javascript">
            $(function(){
                $('#form1').validation();
            })
        </script>
    </head>
    <body>
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12">
                <div class="alert">更新类别</div>
            <form id="form1" runat="server" class="form-horizontal">
                <div class="control-group">
                    <label class="control-label">类别名称:</label>
                    <div class="controls">
                        <asp:TextBox ID="txtName" runat="server" check-type="required"></asp:TextBox>
                        </div>
                 </div>
                 
                 <div class="control-group">
                    <label class="control-label">排序值:</label>
                    <div class="controls">
                        <asp:TextBox ID="txtOrderID" runat="server" check-type="required number"></asp:TextBox>
                    </div>
                 </div>
                 
                 <div class="form-actions">
                     <asp:Button ID="btnEdit" runat="server" Text="修改" CssClass="btn btn-primary" 
                         onclick="btnEdit_Click" />
                    <a href=list.aspx class="btn">返回</a>
                </div>
            </form>
            </div>
        </div>
    </div>

</body>
</html>
